'use strict';

const Service = require('egg').Service;
class UsersService extends Service {
  async create(params) {  
    const { ctx, app } = this;
    // app.runSchedule('del_users')//定时任务
    return await ctx.model.User.create(params)
  }
}

module.exports = UsersService;
